Event Calendar Function

The ecmEvtCalendar function is used to display an event calendar that has been created in the Ektron CMS400.NET Workarea.

Displayed here is the format for the event calendar custom function:

   <CFMODULE template="#request.ecm.AppPath#ecmEvtCalendar.cfm" Calendar_ID="" DisplayType="">

This function is basically the same as the Event Calendar function in ASP. See Event Calendar Function for details.

The only differences between the Coldfusion function and the ASP one are the use of the DisplayType parameter and the syntax for implementing it. The ecmEvtCalendar function parameters are defined below.

Attribute

Description

id

The “id” argument represents the ID number of the event calendar in the Workarea.

DisplayType

Specify the Calendar display type.

Month - A 30 day calendar month view.

Day - Single day view.

Inline - Display events that occur from the start date of the calendar through the end date.

MonthUpWithEvent - Displays a month calendar. Events appear to the right of the calendar when you click on a day.

Here is a sample of the Event Calendar syntax.

Event Calendar Sample

    <tr>

         <td>

             <CFModule template="#request.ecm.AppPath#ecmEvtCalendar.cfm" calendar_id="24" DisplayType="monthupwithevent">

         </td>

    </tr>

Previous TopicNext Topic|